package micro.beauty.order;

import micro.beauty.common.core.constant.AppConstant;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
/**
* @Description:    订单服务启动类
* @Author:         Liuliya
* @CreateDate:     2020/10/15 22:45
*/
@EnableHystrix
@EnableEurekaClient
@SpringBootApplication
@MapperScan(basePackages = AppConstant.ORDER_SERVICE_MAPPER_BASE_PACKAGE)
@EnableFeignClients(basePackages = AppConstant.BASE_PACKAGE_PREFIX)
public class OrderBizApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderBizApplication.class, args);
    }

}
